﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RestTester.aspx.cs" Inherits="TripLOA.GUI.service.rest.tester.RestTester" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Rest Tester</title>
</head>
<body>

    <h1>REST Tester</h1>
    
    <form id="testForm" runat="server">
    
    <div id="classNameDiv" runat="server">Classe: <strong><asp:Label ID="classNameLabel" runat="server" /></strong></div>
    <div id="methodNameDiv" runat="server">Metodo: <strong><asp:Label ID="methodNameLabel" runat="server" /></strong></div>
    
    <div id="classSelectDiv" runat="server">
        Test per la classe:
        <asp:DropDownList ID="classSelect" runat="server">
            <asp:ListItem Value="TripLOA.WebService.TripCore">TripCore</asp:ListItem>
            <asp:ListItem Value="TripLOA.WebService.UserCore">UserCore</asp:ListItem>
            <asp:ListItem Value="TripLOA.WebService.GeoRefCore">GeoRefCore</asp:ListItem>
        </asp:DropDownList>
        <br />
        <asp:Button ID="classSubmit" runat="server" onclick="classSubmit_Click" 
            Text="Invia" />
    </div>

    <div id="methodSelectDiv" runat="server">
        <p>Test per il metodo: 
            <asp:DropDownList ID="methodSelect" runat="server">
            </asp:DropDownList>
        </p>
        <asp:Button ID="methodSubmit" runat="server" Text="Invia" 
            onclick="methodSubmit_Click" />
    </div>
    
    <div id="testDiv" runat="server">
        <div id="parametersListDiv" runat="server">
        
        </div>
        <p>format: 
            <asp:DropDownList ID="format" runat="server">
                <asp:ListItem Value="rest">REST</asp:ListItem>
                <asp:ListItem Value="json">JSON</asp:ListItem>
            </asp:DropDownList>
        </p>
            
        <asp:Button ID="testSubmit" runat="server" Text="Test!" 
            onclick="testSubmit_Click" />
        
    </div>
    
    <div><asp:Label ID="debugLabel" runat="server"></asp:Label></div>
    </form>
    
    </body>
</html>
